package com.itcast.homework01.work01;

/*
父类Animal
*/
public class Animal {
    private String color;
    private String breed;

    public Animal() {
    }

    public Animal(String color, String breed) {
        this.color = color;
        this.breed = breed;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getBreed() {
        return breed;
    }

    public void setBreed(String breed) {
        this.breed = breed;
    }
}
